package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.math.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-27
 */
@ApiModel(value = "检验报告头表")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("LAB_REPORT_HEAD")
public class LabReportHead implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "报告头主键")
    @TableId("LAB_REPORT_HEAD_ID")
    private String labReportHeadId;

    @ApiModelProperty(value = "门诊号")
    @ExcelProperty(value = "OUTPATIENT_ID")
    @TableField("OUTPATIENT_ID")
    private String outpatientId;

    @ApiModelProperty(value = "住院号")
    @ExcelProperty(value = "INPATIENT_ID")
    @TableField("INPATIENT_ID")
        private String inpatientId;

    @ApiModelProperty(value = "机构编码")
    @ExcelProperty(value = "ORG_CODE")
    @TableField("ORG_CODE")
        private String orgCode;

    @ApiModelProperty(value = "机构名称")
    @ExcelProperty(value = "ORG_NAME")
    @TableField("ORG_NAME")
        private String orgName;

    @ApiModelProperty(value = "检验申请单号")
    @ExcelProperty(value = "APPLICATION_NO")
    @TableField("APPLICATION_NO")
        private String applicationNo;

    @ApiModelProperty(value = "检验项目编码")
    @ExcelProperty(value = "ITEM_CODE")
    @TableField("ITEM_CODE")
        private String itemCode;

    @ApiModelProperty(value = "检验项目名称")
    @ExcelProperty(value = "ITEM_NAME")
    @TableField("ITEM_NAME")
        private String itemName;

    @ApiModelProperty(value = "报告号")
    @ExcelProperty(value = "REPORT_NO")
    @TableField("REPORT_NO")
        private String reportNo;

    @ApiModelProperty(value = "报告日期")
    @ExcelProperty(value = "REPORT_DATE")
    @TableField("REPORT_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportDate;

    @ApiModelProperty(value = "申请人编码")
    @ExcelProperty(value = "APPLICANT_CODE")
    @TableField("APPLICANT_CODE")
        private String applicantCode;

    @ApiModelProperty(value = "申请人名称")
    @ExcelProperty(value = "APPLICANT_NAME")
    @TableField("APPLICANT_NAME")
        private String applicantName;

    @ApiModelProperty(value = "报告人编码")
    @ExcelProperty(value = "REPORTER_CODE")
    @TableField("REPORTER_CODE")
        private String reporterCode;

    @ApiModelProperty(value = "报告人名称")
    @ExcelProperty(value = "REPORTER_NAME")
    @TableField("REPORTER_NAME")
        private String reporterName;

    @ApiModelProperty(value = "审核人编码")
    @ExcelProperty(value = "REVIEWER_CODE")
    @TableField("REVIEWER_CODE")
        private String reviewerCode;

    @ApiModelProperty(value = "审核人名称")
    @ExcelProperty(value = "REVIEWER_NAME")
    @TableField("REVIEWER_NAME")
        private String reviewerName;

    @ApiModelProperty(value = "提交日期")
    @ExcelProperty(value = "SUB_DATE")
    @TableField("SUB_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime subDate;

    @ApiModelProperty(value = "密级")
    @ExcelProperty(value = "SECRET_RANK")
    @TableField("SECRET_RANK")
        private String secretRank;

    @ApiModelProperty(value = "报告类别编码")
    @ExcelProperty(value = "REPORT_TYPE_CODE")
    @TableField("REPORT_TYPE_CODE")
        private String reportTypeCode;

    @ApiModelProperty(value = "报告类别名称")
    @ExcelProperty(value = "REPORT_TYPE_NAME")
    @TableField("REPORT_TYPE_NAME")
        private String reportTypeName;

    @ApiModelProperty(value = "标本代码")
    @ExcelProperty(value = "SPECIMEN_CODE")
    @TableField("SPECIMEN_CODE")
        private String specimenCode;

    @ApiModelProperty(value = "标本名称")
    @ExcelProperty(value = "SPECIMEN_NAME")
    @TableField("SPECIMEN_NAME")
        private String specimenName;

    @ApiModelProperty(value = "报告备注")
    @ExcelProperty(value = "REPORT_NOTES")
    @TableField("REPORT_NOTES")
        private String reportNotes;

    @ApiModelProperty(value = "检验时间")
    @ExcelProperty(value = "LAB_TIME")
    @TableField("LAB_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime labTime;

    @ApiModelProperty(value = "采集时间")
    @ExcelProperty(value = "COLLECT_TIME")
    @TableField("COLLECT_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime collectTime;

    @ApiModelProperty(value = "申请时间")
    @ExcelProperty(value = "APPLY_TIME")
    @TableField("APPLY_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTime;

    @ApiModelProperty(value = "打印时间")
    @ExcelProperty(value = "PRINT_TIME")
    @TableField("PRINT_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime printTime;

    @ApiModelProperty(value = "床号")
    @ExcelProperty(value = "BED_NO")
    @TableField("BED_NO")
        private String bedNo;

    @ApiModelProperty(value = "病区编码")
    @ExcelProperty(value = "WARD_CODE")
    @TableField("WARD_CODE")
        private String wardCode;

    @ApiModelProperty(value = "病区名称")
    @ExcelProperty(value = "WARD_NAME")
    @TableField("WARD_NAME")
        private String wardName;

    @ApiModelProperty(value = "申请科室编码")
    @ExcelProperty(value = "APPLICATION_DEPT_CODE")
    @TableField("APPLICATION_DEPT_CODE")
        private String applicationDeptCode;

    @ApiModelProperty(value = "申请科室名称")
    @ExcelProperty(value = "APPLICATION_DEPT_NAME")
    @TableField("APPLICATION_DEPT_NAME")
        private String applicationDeptName;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "REMARKS")
    @TableField("REMARKS")
        private String remarks;

    @ApiModelProperty(value = "完成标志")
    @ExcelProperty(value = "COMP_FLAG")
    @TableField("COMP_FLAG")
        private String compFlag;

    @ApiModelProperty(value = "记录状态")
    @ExcelProperty(value = "REC_STATE")
    @TableField("REC_STATE")
        private String recState;

    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ExcelProperty(value = "UPDATE_TIME")
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "UPDATE_COUNT")
    @TableField("UPDATE_COUNT")
        private BigDecimal updateCount;

    @ExcelProperty(value = "UPDATE_BY")
    @TableField("UPDATE_BY")
        private String updateBy;

    @ExcelProperty(value = "DELETE_TIME")
    @TableField("DELETE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    @ExcelProperty(value = "DELETE_BY")
    @TableField("DELETE_BY")
        private String deleteBy;

    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;

    @ApiModelProperty(value = "采样人编码")
    @ExcelProperty(value = "COLLECT_PERSON_CODE")
    @TableField("COLLECT_PERSON_CODE")
        private String collectPersonCode;

    @ApiModelProperty(value = "采样人名称")
    @ExcelProperty(value = "COLLECT_PERSON_NAME")
    @TableField("COLLECT_PERSON_NAME")
        private String collectPersonName;

    @ApiModelProperty(value = "接收人代码")
    @ExcelProperty(value = "RECEIVE_PERSON_CODE")
    @TableField("RECEIVE_PERSON_CODE")
        private String receivePersonCode;

    @ApiModelProperty(value = "接收人名称")
    @ExcelProperty(value = "RECEIVE_PERSON_NAME")
    @TableField("RECEIVE_PERSON_NAME")
        private String receivePersonName;

    @ApiModelProperty(value = "接收时间")
    @ExcelProperty(value = "RECEIVE_TIME")
    @TableField("RECEIVE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime receiveTime;

    @ApiModelProperty(value = "标本号")
    @ExcelProperty(value = "SAMPLE_NO")
    @TableField("SAMPLE_NO")
        private String sampleNo;



}
